<a {$tab==0 ?' class="onactive"':''} href="{:U('classroom/User/account')}">余额</a>
<a {$tab==5 ?' class="onactive"':''} href="{:U('classroom/User/account', array('tab'=>5))}">充值记录</a>
<a {$tab==2 ?' class="onactive"':''} href="{:U('classroom/User/account', array('tab'=>2))}">支付记录</a>
<a {$tab==3 ?' class="onactive"':''} href="{:U('classroom/User/account', array('tab'=>3))}">提现记录</a>
   